﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LifeTree.DomainModel.Repositories
{
    public interface IRepository<T>
    {
        void Add(T entity);

        void Remove(T entity);

        T GetById(string id);

        IEnumerable<T> GetAll();
    }
}
